<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" href="../../layui/css/layui.css" media="all"/>
    <link rel="stylesheet" href="../../css/criterionCss/dormitory.css" media="all"/>
</head>
<body>
<div class="vessel-body">
    <div class="vessel-title">
        <h1>宿舍收费标准</h1>
    </div>
    <div class="vessel-table">
        <table id="dormitoryTable" lay-filter="dormitoryTable"></table>
    </div>
    <div class="vessel-aggregate">
        <label>总计：</label>
        <label class="vessel-pricesum" style="color: #ff0000;font-size: 20px">0.00</label>
    </div>

</div>

</body>


<script src="../../layui/layui.js"></script>
<script src="../../js/jquery-3.6.0.js"></script>
<script src="../../js/standard/dormitoryManagement.js"></script>

<!--新增项目-->
<script type="text/html" id="addProject">
    <div class="vessel-project">
        <div>
            <form class="layui-form" action="javascript:;">
                <div class="layui-input-block">
                    <label class="layui-form-label">收费项</label>
                    <div class="layui-input-inline">
                        <input class="layui-input" name="chargingItems" lay-verify="required" placeholder="请输入收费项名称">
                    </div>
                </div>
                <div class="layui-input-block">
                    <label class="layui-form-label">基础金融</label>
                    <div class="layui-input-inline">
                        <input class="layui-input" name="rates" lay-verify="required" placeholder="请输入收费项名称">
                    </div>
                </div>
                <div class="layui-input-block">
                    <label class="layui-form-label">设置数量</label>
                    <div class="layui-input-inline">
                        <input class="layui-input" type="number" name="num" lay-verify="required|number" min="1"
                               placeholder="请输入数量">
                    </div>
                </div>
                <div class="layui-input-block" style="float: right; margin-right: 48px">
                    <button class="layui-btn" style="width: 120px" lay-submit lay-filter="addProject">立即提交</button>
                </div>
            </form>
        </div>
    </div>
</script>
<!--修改标准-->
<script type="text/html" id="editProject">
    <div class="vessel-project" id="editProjectFrom">
        <div>
            <form class="layui-form" lay-filter="editProjectFrom" action="javascript:;">
                <div class="layui-input-block">
                    <label class="layui-form-label">收费项</label>
                    <div class="layui-input-inline">
                        <input class="layui-input" id="text1" name="chargingItems" lay-verify="required"
                               placeholder="请输入收费项名称">
                    </div>
                </div>
                <div class="layui-input-block">
                    <label class="layui-form-label">基础金融</label>
                    <div class="layui-input-inline">
                        <input class="layui-input" name="rates" lay-verify="required" placeholder="请输入收费项名称">
                    </div>
                </div>
                <div class="layui-input-block">
                    <label class="layui-form-label">设置数量</label>
                    <div class="layui-input-inline">
                        <input class="layui-input" type="number" name="num" lay-verify="required|number" min="1"
                               placeholder="请输入数量">
                    </div>
                </div>
                <div class="layui-input-block" style="float: right; margin-right: 48px">
                    <button class="layui-btn" style="width: 120px" lay-submit lay-filter="editProject">立即提交</button>
                </div>
            </form>
        </div>
    </div>
</script>

<!--工具类操作-->
<script type="text/html" id="editTool">
    <span class="span-btn span-btn-edit" style="color: #007DDB" lay-event="edit">修改</span>
    <span class="span-btn span-btn-danger" lay-event="del">删除</span>
</script>
<script type="text/html" id="utilsHeader">
    <div class="vessel-toolbar">
        <div class="vessel-tool-add">
            <button class="project-add layui-btn" lay-event="addproject">新增项目</button>
        </div>
        <div class="vessel-title-c">
            <span class="vessel-toolbar-title">宿舍收费标准基础项目</span>
        </div>
    </div>
</script>

</html>